home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19990422-19990725
/
000194_news@watsun.cc.columbia.edu _Mon Jun 21 13:48:55 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA00124
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 21 Jun 1999 13:48:55 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA17551
for kermit.misc@watsun.cc.columbia.edu; Mon, 21 Jun 1999 13:30:58 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
Subject: Re: kerbang parameters not passed?
Date: 21 Jun 1999 17:30:57 GMT
Organization: Columbia University
Message-ID: <7klssh$h4c$1@newsmaster.cc.columbia.edu>
To: kermit.misc@watsun.cc.columbia.edu
In article <376E6B68.5B08EB3C@asares.com>,
Brian Corcoran <corcoran@asares.com> wrote:
: Hi,
:
: I'm trying to set up a c-kermit script to run from the command line
: (using the #! notation), but I can't get parameters passed to it. I'm
: using c-kermit 7.0.195 b7 on Linux 2.2.10.
:
: For example, when I run the following script (kerbang-test.ksc hello
: 1234) from the command line:
:
: #!/usr/local/bin/kermit
: echo begin
: echo \%0
: echo \%1
: echo \%2
: echo end
: end
The kerbang script must look like:
#!/usr/local/bin/kermit +
echo begin
echo \%0
echo \%1
echo \%2
echo end
end
Notice the '+' after the path to the executable.
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org